package com.zty.xiaomi.server.Service.RegLogin;

import com.zty.xiaomi.server.Entity.User;

import java.io.IOException;

public interface RegLogService {

    User getUserByName(String email) throws IOException;

    User getUserByUserName(String username) throws IOException;

    void insertUser(String userid, String name, String email, String pwd,
                    String phone, Integer status,String date) throws IOException;

}
